﻿import { ISysPerson } from '/@/views/person/sysperson/api/interface'

export interface ISysPersonContract {
  ID?: string | null;
  PersonId: null;
  Person?: ISysPerson;
  EmploymentType: number | null;
  ContractType: number | null;
  ContractNo: string | null;
  SignDate: Date | null;
  ExpireDate: Date | null;
  ContractFiles: string | null;
  ContractCount: number
}

export interface ISysPersonContractVm {
  Entity: ISysPersonContract;

  SelectedContractFilesIds: string[]

}

export interface ISysPersonContractView extends ISysPersonContract {

  ContractFilesNames: string[];

}

export interface ISysPersonContractQuery {
  PersonId?: string
  EmploymentType?: number
  ContractType?: number
  ContractNo?: string
  SignDate?: Date
  ExpireDate?: Date
  ContractCount?: number
}